/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cz.worsik.vypocty.topeni.tepelneztraty.dao;

/**
 *
 * @author mruzek
 */
public class SqlStatements {
	static final String SELECT_FROM_SYSTABLES = "select * from sys.systables where tablename='OBJEKTY'";
	
	static final String SELECT_LAST_ID = "select max(id) from ";
	
	static final String FIND_ALL_FROM_TABLE = "select * from ";
	
	static final String SELECT_SVETOVA_STRANA_BY_NAZEV = "select * from svetove_strany where nazev = :nazev";
	
	static final String INSERT_SVETOVA_STRANA = "insert into svetove_strany(id,nazev,popis,p2) "
		+" values(:id,:nazev,:popis,:p2)";
}
